(Fmessage): Treat "" like nil.
authorRichard M. Stallman <rms@gnu.org>
Tue, 23 Jul 2002 19:08:14 +0000 (19:08 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 23 Jul 2002 19:08:14 +0000 (19:08 +0000)
src/editfns.c

index 2244668649e7b8fc9d7a22bbad74e8f791c7e75b..e8b12d76a3c7f992d611415b5303118420f8c051 100644 (file)
@@ -2918,7 +2918,9 @@ usage: (message STRING &rest ARGS)  */)
      int nargs;
      Lisp_Object *args;
 {
-  if (NILP (args[0]))
+  if (NILP (args[0])
+      || (STRINGP (args[0])
+         && SBYTES (args[0]) == 0))
     {
       message (0);
       return Qnil;